<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>login</title>
    <link rel="stylesheet" href="/webjars/bootstrap/3.3.5/css/bootstrap.min.css" />
    <script src="/webjars/jquery/3.1.1/jquery.min.js"></script>
    <script src="/webjars/bootstrap/3.3.5/js/bootstrap.min.js"></script>

    <script>

        if (window.top != window) {
            window.top.location.replace("/login");
        }
    </script>


</head>
<body>

<div class="container" style="margin: 100px auto; width:300px;">

        <div class="row">
            <div class="span12">
                <form method="post" action="/doLogin">
                    <div class="control-group">
                        <label class="control-label" for="inputEmail">uid</label>
                        <div class="controls">
                            <input id="inputEmail" class="form-control" name="uid" type="text" value="admin" />
                        </div>
                    </div>
                    <br/>
                    <div class="control-group">
                        <label class="control-label" for="inputPassword">密码</label>
                        <div class="controls">
                            <input id="inputPassword" class="form-control" name="pwd" type="password" value="123456" />
                        </div>
                    </div>
                    <br/>
                    <div class="control-group">
                        <div class="controls">
                            <!--<label class="checkbox"><input type="checkbox" /> Remember me</label> -->
                            <button type="submit"  class="btn btn-default btn-lg">登陆</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>

</div>
</body>
</html>